Skip to content

fix: replace bare except clauses with except Exception#17

Open
haosenwang1018 wants to merge 1 commit intoOpenBMB:mainfrom
haosenwang1018:fix/bare-excepts
Open

fix: replace bare except clauses with except Exception#17
haosenwang1018 wants to merge 1 commit intoOpenBMB:mainfrom
haosenwang1018:fix/bare-excepts

Conversation

@haosenwang1018
Copy link

Replace 16 bare except: across 12 files with except Exception: to avoid catching SystemExit/KeyboardInterrupt in AgentDock, AgentRL, and AgentToLeaP modules.

- parse_minicpm.py: tool parsing fallback
- custom.py (2): server error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant